#ifndef PROJECTDATA_H
#define PROJECTDATA_H
#include "QtCore"

class ProJectData
{
public:
    ProJectData();

    static QByteArray Get_Download_REIGSTER_Res(bool Status,QString uid);//下行注册结果
    static QByteArray Get_Download_LOGIN_Res(QString Res,QString uid,QString name,QString pwd);
    static QByteArray Get_Download_MSG_SYNC(QString Groupid,bool isgroup, QVector<QString>Msg);
    static QByteArray Get_Download_LIST_SYNC(QVector<QString>);//下行群联系组 LIST
    static QByteArray Get_Download_POST_SYNC(QVector<QString>);//下行可以加入的联系组 LIST
    static QByteArray Get_Download_CreateGroup_Res(bool); //下行创建联系请求情况

    static QByteArray Get_Download_MSG_UPDATE(bool isgroup,QString Groupid, QVector<QString>Msg);

    static QByteArray Get_Upload_CHECK_NUM(QString); //上行验证码
    static QByteArray Get_Upload_CHECK_POST_uid(QString);//上行发送验证码请求
    static QByteArray Get_Upload_CHECK_POST_phone(QString);//上行发送验证码请求
    static QByteArray Get_Upload_LOGIN_POST(QString,QString,QString,QString);//上行登录请求

    static QByteArray Get_Upload_ADDFRIEND(QString,QString,bool);//上行是否加入联系

    static QByteArray Get_Upload_CreateGroup(QString uid_me,QVector<QString> UID,bool isgroup);//上行创建联系请求
    static QByteArray Get_Upload_APPLAY_GROUP(QString uid,QString GID);
    static QByteArray Get_Upload_PULL_FRIEND(QString uid,QString GID);
    static QByteArray Get_Upload_REGISTER_POST(QString,QString,QString,QString,QString);//上行登录请求
    static QByteArray Get_Upload_LIST_SYNC(QString);//上行联系同步请求
    static QByteArray Get_Upload_MSG_SYNC(QString);// 上行消息同步请求
    static QByteArray Get_Upload_POST_SYNC(QString);//上行可加入联系的请求

    static QByteArray Get_MSG(QString,QString,QString,QString); //打包一条消息
    static QByteArray Get_LIST(QString Type ,QString uid_group,QString Gid,bool is_group,QVector<QString> UsrInfo);
    static QByteArray Get_Usr(QString,QString); //打包一个用户



};

#endif // PROJECTDATA_H
